package com.obixlabs.kalua.domainmodel.geo;

import com.obixlabs.kalua.domainmodel.BaseIdentifier;

public class CountryCode extends BaseIdentifier {

	private static final long serialVersionUID = -5853169863576786616L;

	private String value;
		
	private CountryCode() {/*Ignore default constructor*/}
	
	public CountryCode(String value) {
		this();
		setValue(value);
	}

	public String getValue() { return this.value; }
	private void setValue(String value) { this.value = value; }
	
	@Override
	public String toString() { return getValue(); }
	
	@Override
	protected Object[] getConstituents() { return new Object[] {getValue()}; }	
}